package org.jprogger.myworld.api.app;


/**
 * 
 * @author jprogger
 *
 */
public class ApiParams {
	
	public static final int NON_SECURE_REQUEST 	= 0;
	public static final int SECURE_REQUEST 		= 1;
	
	public static final String XML_REQUEST_FORMAT 	= "xml";
	public static final String JSON_REQUEST_FORMAT 	= "json";
	
	public static final String API_HOST = "http://www.appsmail.ru/platform/api";

	private String apiHost = API_HOST;
	private int isSecure = SECURE_REQUEST;
	private String format = JSON_REQUEST_FORMAT;
	private String secretKey = "";
	
	public int getIsRequestSecure() {
		return isSecure;
	}
	
	public void setIsRequestSecure(int isRequestSecure) {
		this.isSecure = isRequestSecure;
	}
		
	public String getApiHost() {
		return apiHost;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}
}
